////////////////////// END OF ONLOAD ACTIONS /////////////////////////
function initialize() {
if (preferences.disclaimerAccept.value != "yes") {
var disclaimer = "DISCLAIMER AND USER AGREEMENT\n\nYour use of the Smarter Stickies Widget (the software) is at your own discretion and risk and you will be solely responsible for any damage that results from its use, including, but not limited to, any damage to any computer system or loss of data. The software is provided \"as is\" without warranties of any kind. The author makes no representations or warranties regarding the condition or functionality of the software or its suitability for use. To the maximum extent permitted by applicable law, you hereby release and waive all claims against the author, his agents and representatives from any and all liability for claims, damages (actual and/or consequential), costs and expenses (including litigation costs and attorneys' fees) of every kind and nature, arising from or in any way related to your use of the software.\n\nHave a nice day!";
if (alert(disclaimer,"Close Widget","I Agree") != 2) {
closeWidget();
return;
}
}
stickycount = 0; // # stickies
alarmTimer = new Timer();
helpFile = widget.extractFile("help.html");
widget.extractFile("smartPad.gif");
widget.extractFile("almEdit.gif");
// stickyPad is the widget's "main" window defined in Smarter Stickies.kon
if (preferences.disclaimerAccept.value != "yes") {
var offerHelp = "Thank you. Would you like to see the Smarter Stickies help file now?\n(It's available anytime by right-clicking on the pad icon and selecting help from the menu.)";
if (alert(offerHelp, "Yes", "Not now") == 1) runCommand("'"+helpFile+"'");